﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MenusList.aspx.cs" Inherits="SME.Food.Tricon.Web.AdminJS.MenusManage.MenusList" %>
<%@ Import Namespace="System.Data" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="pagerForm" method="post" action="MenusManage/MenusList.aspx">
	<input type="hidden" name="SearchMenusNo" value="<%=SearchMenusNo %>">
	<input type="hidden" name="SearchMenusStatue" value="<%=SearchMenusStatue %>" />
	<input type="hidden" name="UserNo" value="<%=UserNo %>" />

   </form>
    <div class="pageHeader">
       <form id="MenusList" onsubmit="return navTabSearch(this);" action="MenusManage/MenusList.aspx"
        method="post">
        <div class="searchBar">
           <table class="searchContent">
              <tr>
                 <td>
                    菜单编号：<input type="text" size="17" name="SearchMenusNo" value="<%=SearchMenusNo %>" />
                 </td>
                 <td>
                   菜单状态 ：<input type="text" size="17" name="SearchMenusStatue" value="<%=SearchMenusStatue %>" />
                 </td>
                 
                
              </tr>
           </table>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    检索</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </form>
    </div>
    <div class="pageContent">
       <div class="panelBar">
        <ul class="toolBar" >
             <li><a class='add' title='菜单添加' href='MenusManage/MenusModify.aspx?type=modify&userNo=<%=UserNo %>' target='dialog' 
                rel='dialogs' width='816' height='483'><span>添加</span></a></li>
            <li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" posttype="string" href="MenusManage/MenusH.aspx?type=deleteAll"
                class="delete"><span>批量删除</span></a></li>
        </ul>
       </div>
       <table class="table" nowrapTD="false" width="100%" layouth="141">
        <thead>
            <tr>
                <th>
                    <input type="checkbox" class="checkboxCtrl" group="ids" /> 
                </th>
                 <th align="center" >菜单编号
                </th>
                <th align="center" >总数量
                </th>
                <th align="center" >总金额
                </th>
                <th align="center">时间
                </th> 
                <th align="center">用户
                </th>               
                <%--<th  align="center">状态
                </th>--%>
                <th align="center">操作
                </th>
            </tr>
        </thead>
        <tbody>
             <% if (Table != null)
            {
                foreach (DataRow dr in Table.Rows)
                {%>
                   
                    <tr>
                    <td ><input name="ids" type="checkbox" value="<%=dr["Menus_No"] %>"/></td>
                    <td align='center'><%=dr["Menus_No"]%></td>
                    <td><%=dr["TotalNum"]%></td>
                    <td align='center'><%=dr["TotalMony"]%></td>
                    <td align='center'><%=dr["Menus_Time"]%></td>
                    <td align='center'><%=dr["Mem_No"] %></td>
                    <%--<td align='center'><%=dr["Menus_Statue"]=="0"?"未完成":"完成"%></td>--%>
                    <td align='center'>
					      <a title="删除" target="ajaxTodo"  href="MenusManage/MenusH.aspx?type=delete&Menus_No=<%=dr["Menus_No"] %>" class="btnDel">删除</a>
					      <a title="编辑" target="dialog" rel='dialogs' width='816' height='483' href="MenusManage/MenusModify.aspx?type=update&Menus_No=<%=dr["Menus_No"] %>" class="btnEdit">编辑</a>
				    </td>
                 </tr>
             <% }
        } %>
          </tbody>
    </table>
      <%-- <div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select  name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共${totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div>

	</div>--%>
    </div>
</body>
</html>
